<template>
  <div>
    <a-button type="primary" @click="workFlow">工作流</a-button>
    <a-button type="primary" @click="dataFlow">数据流</a-button>
  </div>
</template>

<script>
export default {
  name: 'Index',
  methods: {
    workFlow() {
      this.$router.push({ name: 'BpmnFlow' })
    },
    dataFlow() {
      this.$router.push({ name: 'KettleFlow' })
    }
  }
}
</script>
